package cn.rdq.api.vo;

import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;

@Data
public class BlogVo {

    private Long id;

    private String title;

    private String userId;

    private String username;

    @NotNull(message = "currentPage不能为空")
    Integer currentPage;

    @NotNull(message = "pageSize不能为空")
    Integer pageSize;

}
